﻿/**
<code>
  <author name="Zealic" email="zealic(at)gmail.com" type="Creator"/>
</code>
**/
using System;


namespace Zealib.Win32
{
    /// <summary>
    /// Product suites available on the system
    /// </summary>
    [Flags]
    public enum ProductSuites : ushort
    {
        /// <summary>
        /// Microsoft BackOffice components are installed.
        /// </summary>
        BackOffice = 0x0004,

        /// <summary>
        /// Windows Server 2003, Web Edition is installed.
        /// </summary>
        Blade = 0x0400,

        /// <summary>
        /// Windows Server 2003, Compute Cluster Edition is installed.
        /// </summary>
        ComputerServer = 0x4000,

        /// <summary>
        /// Windows Server 2008 Datacenter, Windows Server 2003, Datacenter Edition or Windows 2000 Datacenter Server is installed.
        /// </summary>
        DataCenter = 0x0080,

        /// <summary>
        /// Windows Server 2008 Enterprise, Windows Server 2003, Enterprise Edition, Windows 2000 Advanced Server, or Windows NT Server 4.0 Enterprise Edition is installed. Refer to the Remarks section for more information about this bit flag.
        /// </summary>
        Enterprise = 0x0002,

        /// <summary>
        /// Windows XP Embedded is installed.
        /// </summary>
        EmbeddedNT = 0x0040,

        /// <summary>
        /// Windows Vista Home Premium, Windows Vista Home Basic, or Windows XP Home Edition is installed.
        /// </summary>
        Personal = 0x0200,

        /// <summary>
        /// Remote Desktop is supported, but only one interactive session is supported. This value is set unless the system is running in application server mode.
        /// </summary>
        SingleUserTS = 0x0100,

        /// <summary>
        /// Microsoft Small Business Server was once installed on the system, but may have been upgraded to another version of Windows. Refer to the Remarks section for more information about this bit flag.
        /// </summary>
        SmallBusiness = 0x0001,

        /// <summary>
        /// Microsoft Small Business Server is installed with the restrictive client license in force. Refer to the Remarks section for more information about this bit flag.
        /// </summary>
        SmallBusinessRestricted = 0x0020,

        /// <summary>
        /// Windows Storage Server 2003 R2 or Windows Storage Server 2003 is installed.
        /// </summary>
        StorageServer = 0x2000,

        /// <summary>
        /// Terminal Services is installed. This value is always set.
        /// If VER_SUITE_TERMINAL is set but VER_SUITE_SINGLEUSERTS is not set, the system is running in application server mode.
        /// </summary>
        Terminal = 0x0010,

        /// <summary>
        /// Windows Home Server is installed.
        /// </summary>
        HomeServer = 0x8000,
    }

}
